﻿#ifndef FILESTATISTICS_H
#define FILESTATISTICS_H

#include <QDir>
#include <QString>
#include <QVector>

struct FileStat {
    QString filePath;
    int lines;
    int characters;
    QString type;
};

class FileStatistics {
public:
    explicit FileStatistics(const QDir &dir);
    QVector<FileStat> getResults() const;

private:
    void calculateStatistics(const QDir &dir);
    QVector<FileStat> results;
};

#endif // FILESTATISTICS_H
